home *** CD-ROM | disk | FTP | other *** search
- stopAllSounds();
- if(currentScore > 0)
- {
- tempPound = Math.floor(currentScore / 100);
- tempPenny = _root.currentScore - tempPound * 100;
- if(tempPenny < 10)
- {
- tempPenny = "0" + tempPenny;
- }
- }
- else
- {
- tempPound = "00";
- tempPenny = "00";
- }
- finalScore.text = "£" + tempPound + "." + tempPenny;
-